package com.liyunc.socket.rpc.nio.centre;

import java.io.IOException;

public interface Server {

    public void stop();

    public void start() throws IOException;

    public void register(Class serviceInterface, Class impl);

    public boolean isRunning();

    public int getPort();
}
